package cn.flymod.DHG_mcpePlusEX;

import android.app.*;
import android.content.*;
import android.net.*;
import android.os.*;
import android.view.*;
import android.view.View.*;
import android.widget.*;

public class about extends Activity
{
    /** Called when the activity is first created. */
    @Override

	Button aboutButton1,aboutButton2,aboutButton3;
	TextView aboutTextView4,aboutTextView5;
   ImageView aboutImageView1;
	public void onCreate(Bundle savedInstanceState)
	{
        super.onCreate(savedInstanceState);
        setContentView(R.layout.about);
		
		aboutButton1=(Button)findViewById(R.id.aboutButton1);
		aboutButton2=(Button)findViewById(R.id.aboutButton2);
		aboutButton3=(Button)findViewById(R.id.aboutButton3);
		aboutTextView4=(TextView)findViewById(R.id.aboutTextView4);
		aboutTextView5=(TextView)findViewById(R.id.aboutTextView5);
		
		aboutTextView4.setText(" ※该应用内部资源持续更新,程序本体非特殊情况不会更新.");
		aboutTextView5.setText(" ※对于需要付费的资源,该应用仅提供已付费版资源,请自觉于下载24h内删除,喜欢请购买正版!如果不会购买,请参考以下教程:");
		aboutButton1.setText("中国大陆在Google play商店购买付费商品的方法");
		aboutButton2.setText("意见反馈/联系我");
		aboutButton3.setText("检查更新〔当前版本Final Project v1〕");
		
		aboutButton1.setOnClickListener(new OnClickListener(){
				public void onClick(View v)
				{
					Uri uri= Uri.parse("http://tieba.baidu.com/p/2583176034");
					Intent intent = new Intent(Intent.ACTION_VIEW,uri);
					startActivity(intent);
				}
	    	});
		aboutButton2.setOnClickListener(new OnClickListener(){
				public void onClick(View v)
				{
					Uri uri= Uri.parse("http://tieba.baidu.com/p/2531616027");
					Intent intent = new Intent(Intent.ACTION_VIEW,uri);
					startActivity(intent);
				}
	    	});
		aboutButton3.setOnClickListener(new OnClickListener(){
				public void onClick(View v)
				{
					Uri uri= Uri.parse("http://pan.baidu.com/share/link?shareid=2546858144&uk=2869900060");
					Intent intent = new Intent(Intent.ACTION_VIEW,uri);
					startActivity(intent);
				}
	    	});
	}
}
